﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="PriceGuide.aspx.cs" Inherits="HTComics.Web.Admin.PriceGuide" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Css/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-ui-1.8.18.custom.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(document).ready(doOnLoad);

        function doOnLoad() {
            $("#MainContent_btnUpdate").button();
            $("#btnAdminHome").button().click(function () { window.location = "Home.aspx"; return false; });
        }

        function success() {
            $("#divOK").dialog({
                title: "Success",
                modal: true,
                height: 'auto',
                width: 'auto',
                position: ['center', 'middle']
            });
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Heading" runat="server">
Price Guide
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
            <div class="section">
                <span class="header">
                    Price Guide Listing
                </span>

            <div class="content">      
            
                <table width="100%">
                <tr>
                    <td width="30%">Select Price Band</td>
                    <td><asp:DropDownList ID="ddlPriceBands" runat="server" AutoPostBack="True" 
                            onselectedindexchanged="ddlPriceBands_SelectedIndexChanged"></asp:DropDownList></td>
                </tr>

                <tr>
                    <td colspan="2" style="height:10px;"></td>
                </tr>

                <tr>
                    <td class="labelBold" style="font-size:16px;">Condition</td>
                    <td class="labelBold"  style="font-size:16px;">Guide Expression</td>
                </tr>
                <tr>
                    <td>Near Mint +</td>
                    <td>Near Mint -  x <input type="text" runat="server" class="textfield" id="txtNMP" value=""/></td>
                </tr>
                <tr>
                    <td>Near Mint</td>
                    <td>Near Mint -  x <input type="text" runat="server" class="textfield" id="txtNM" value=""/></td>
                </tr>
                <tr>
                    <td>Near Mint -</td>
                    <td>Near Mint -  x <input type="text" runat="server" class="textfield" id="txtNMM" value=""/></td>
                </tr>
                <tr>
                    <td>Very Fine +</td>
                    <td>Very Fine x <input type="text" runat="server" class="textfield" id="txtVFP" value=""/></td>
                </tr>
                <tr>
                    <td>Very Fine</td>
                    <td><input type="text" runat="server" class="textfield" id="txtVFVA" value=""/> + (<input type="text" runat="server" class="textfield" id="txtVFVB" value=""/> / NM- Price)) / NM- Price</td>
                </tr>
                <tr>
                    <td>Very Fine -</td>
                    <td>Very Fine x <input type="text" runat="server" class="textfield" id="txtVFM" value=""/></td>
                </tr>
                <tr>
                    <td>Fine +</td>
                    <td>Fine x <input type="text" runat="server" class="textfield" id="txtFP" value=""/></td>
                </tr>
                <tr>
                    <td>Fine</td>
                    <td><input type="text" runat="server" class="textfield" id="txtFVA" value=""/> + (<input type="text" runat="server" class="textfield" id="txtFVB" value=""/> / NM- Price)) / NM- Price</td>
                </tr>
                <tr>
                    <td>Fine -</td>
                    <td>Fine x <input type="text" runat="server" class="textfield" id="txtFM" value=""/></td>
                </tr>
                <tr>
                    <td>Very Good +</td>
                    <td>Very Good x <input type="text" runat="server" class="textfield" id="txtVGP" value=""/></td>
                </tr>
                <tr>
                    <td>Very Good</td>
                    <td><input type="text" runat="server" class="textfield" id="txtVGVA" value=""/> + (<input type="text" runat="server" class="textfield" id="txtVGVB" value=""/> / NM- Price)) / NM- Price</td>
                </tr>
                <tr>
                    <td>Very Good -</td>
                    <td>Very Good x <input type="text" runat="server" class="textfield" id="txtVGM" value=""/></td>
                </tr>
                <tr>
                    <td>Good +</td>
                    <td>Good x <input type="text" runat="server" class="textfield" id="txtGP" value=""/></td>
                </tr>
                <tr>
                    <td>Good</td>
                    <td><input type="text" runat="server" class="textfield" id="txtGVA" value=""/> + (<input type="text" runat="server" class="textfield" id="txtGVB" value=""/> / NM- Price)) / NM- Price</td>
                </tr>
                <tr>
                    <td>Good -</td>
                    <td>Good x <input type="text" runat="server" class="textfield" id="txtGM" value=""/></td>
                </tr>
                <tr>
                    <td>Fair</td>
                    <td>Good x <input type="text" runat="server" class="textfield" id="txtFR" value=""/></td>
                </tr>
                <tr>
                    <td>Poor</td>
                    <td>Good x <input type="text" runat="server" class="textfield" id="txtP" value=""/></td>
                </tr>


                </table>          

                <p align="center">
                    <asp:Button ID="btnUpdate" runat="server" Text="Update" 
                        onclick="btnUpdate_Click" />
                    <button id="btnAdminHome">Admin Home</button>
                </p>
            </div>
            </div>

            <div id="divOK" style="display:none;">
                Settings have been updated
            </div>
</asp:Content>
